Increase the maximum size of the virtual hard disk via command prompt!
You can change the maximum hard disk capacity at any time using the command line for the VHD or virtual hard disk under Windows 11, 10, ... and MS Server OS!
1.) Changing the maximum size of the virtual hard disk!
1. Please start the diskpart under MS Windows OS
2. Use the command select vdisk
3. To change the size of the VHD enter expand vdisk maximum=132000
Here in the example with 132000, that is ~ 128 GB, the maximum is specified in megabytes, you can specify any other size for the virtual hard disk that is required! This command works under Windows 11, 10, ... etc. and current MS Server OS!
DISKPART> select vdisk file="y: \_ 1\VHD64GB.vhd"
The file for virtual disks was successfully selected by DiskPart.
DISKPART> expand vdisk maximum=132000
100 percent processed
The file for virtual disks was successfully expanded by DiskPart.
DISKPART>
2.) What should you watch out for in order to change the maximum hard drive capacity of the VHD?
The maximum size of the VHD for virtual data carriers is of the fixed size and dynamic type, the dynamic is growing. Both types of VHD variants can be changed in terms of the size of the virtual data carrier.
With static or fixed VHDs, one has the impression that this cannot be done, that after the size has been determined, it can no longer be changed. But this is not the case, it can be enlarged later, for example if the volumes it contains become full!
(Image-2) Create a virtual hard disk via the disk management!
If you start the terminal APP, the directory will not be taken over by the higher-level program, application, process This is the standard setting in the
Deactivating, activating and listing the network adapters via command prompt or PowerShell is quite easy to do under Windows 11, 10, and MS Server Everyone
Yes, and its easy to optimize drives on Windows 11, 10, from the command prompt using the defrag command Everyone probably knows the drive optimization
This website does not store personal data. However, third-party providers are used to display ads, which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF). The CMP ID is 300 and can be individually customized at the bottom of the page. more Infos & Privacy Policy ....